Revisiting numeric/symbolic indefinite integration of rational functions, and extensions
نویسنده
چکیده
We know we can solve this problem: Given any rational function f(x) = p(x)/q(x), where p and q are univariate polynomials over the rationals, compute its indefinite integral, using if necessary, algebraic numbers. But in many circumstances an approximate result is more likely to be of use. Furthermore, it is plausible that it would be more useful to solve the problem to allow definite integration, or introduce additional parameters so that we can solve multiple definite integrations. How can a computer algebra system best answer the more useful questions? Finally, what if the integrand is not a ratio of polynomials, but something more challenging? Consider a question of the form “Please give me F the indefinite integral of f(x), a mathematical function of x.” There is a belief among advocates of computer algebra systems, as well as among teachers of calculus, that there is an advantage to providing F as a formula, especially when the formula is expressible in terms of “elementary” functions. We suspect that many calculus teachers believe that the integration of f(x) when f is rational can be done algorithmically by methods given in every calculus book, in spite of the fact that these methods work only for sufficiently low-degree denominators or other special factorable cases. A possibly more useful answer for many users of computer systems for mathematics, is a computational procedure F (a, b) — perhaps a very fast subroutine compiled to machine language — which for any particular pair of numerical arguments a and b returns a number for the integral from a to b. The internal structure of F could be opaque, but the conventional technique would repeatedly call a subroutine that computes the value of f(x), and the program F (a, b) would use some kind of quadrature program. There are dozens of well-known ones as well as procedures for choosing amongst them. http://www.netlib.org/quadpack/. See also [4] for implementations of some programs that gain some versatility (as they likely lose in speed) by implementation in a computer algebra system. Alternatively the program F (a, b) might be a program that evaluates an algebraic expression, “the exact indefinite integral” at a and b, and computes the difference, relying on the Fundamental Theorem of Integral Calculus and the continuity of f . Or perhaps it evaluates the result of expanding f as a Taylor series and integrating term by term. The numerical approach from pure quadrature is very powerful and well-supported by carefully constructed subroutine libraries. Our own minor contribution in this area, the implementation in arbitrary precision floating-point of some simple tools for integration, is described elsewhere [4]. For the remainder of this paper let us assume that for some reason (speed, accuracy, compactness, presence of parameters), that the quadrature route is not appropriate. That is, we wish to somehow create the black-box result F (a, b) by looking at the symbolic representation of f . In particular we will start with a univariate rational function f(x). 1 Integrate f(x) = p(x)/q(x) semi-symbolically Force q to be monic, if necessary by multiplying p by a suitable factor.
منابع مشابه
Symbolic-Numeric Integration of Rational Functions
We consider the problem of symbolic-numeric integration of symbolic functions, focusing on rational functions. Using a hybrid method allows the stable yet efficient computation of symbolic antiderivatives while avoiding issues of ill-conditioning to which numerical methods are susceptible. We propose two alternative methods for exact input that compute the rational part of the integral using He...
متن کاملDefinite Integration of Parametric Rational Functions: Applying a DITLU
In [2] we presented a Definite Integral Table Lookup (the DITLU) for parametric functions, including a minimal prototype implementation demonstrating its capabilities. In this paper we present a possible application of a DITLU, which would extend its utility for a modest investment of effort. The naive algorithm for indefinite integration of rational functions (see e.g. [12, 2.10]) can be imple...
متن کاملSolving Parameterized Linear Difference Equations In Terms of Indefinite Nested Sums and Products
Solving parameterized linear difference equations (problem PLDE) covers various prominent subproblems in symbolic summation [1]. For instance, by using PLDE-solvers for the rational case [2–6] or its q-analog version [7] one can find sum solutions of (q–)difference equations, see [8–10], or one can deal with telescoping and creative telescoping for ∂-finite summand expressions, see [11]. Moreov...
متن کاملManipulation of Matrices Symbolically
Traditionally, matrix algebra in computer algebra systems is “implemented” in three ways: • numeric explicit computation in a special arithmetic domain: exact rational or integer, highprecision software floating-point, interval, or conventional hardware floating-point. • ‘symbolic’ explicit computation with polynomial or other expression entries, • (implicit) matrix computation with symbols def...
متن کاملAlgebraic Extensions for Symbolic Summation
The main result of this thesis is an effective method to extend Karr’s symbolic summation framework to algebraic extensions. These arise, for example, when working with expressions involving (−1)n. An implementation of this method, including a modernised version of Karr’s algorithm is also presented. Karr’s algorithm is the summation analogue of the Risch algorithm for indefinite integration. I...
متن کامل